﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TiebaSpider.Beans
{
    public class DownloadTask
    {
        public string TargetDir { get; set; }
        public bool CreateSubDir { get; set; }
        public string ForumName { get; set; }
        public string ForumEncodedName { get; set; }
        public string ThreadID { get; set; }
        public string ThreadName { get; set; }
        public int BatchSize { get; set; }
        public int DeployedBatch { get; set; }
        public List<string> SelectedImageID { get; set; }
        public IList<string> DownloadUrl { get; set; }
        public IList<string> FailureImageID { get; set; }

        public DownloadTask()
        {
            DeployedBatch = 0;
            SelectedImageID = new List<string>();
            DownloadUrl = new List<string>();
            FailureImageID = new List<string>();
        }
    }
}
